package org.demo.spring.ioc.service.impl;

import org.demo.spring.ioc.service.IFriendService;
import org.demo.spring.ioc.service.ISturdentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FriendServiceImpl implements IFriendService{

    @Autowired
    private ISturdentService sturdentService;

    public void hello() {
        sturdentService.study();
    }
}
